package com.qj.yantaishan.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_order_friend_address
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class OrderFriendAddress
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long dateline;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 用户UID */
    @Excel(name = "用户UID")
    private Long uid;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String name;

    /** 收货人电话 */
    @Excel(name = "收货人电话")
    private String phone;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long proNum;

    /** 省市县序列化 */
    @Excel(name = "省市县序列化")
    private String address;

    /** 包裹ID */
    @Excel(name = "包裹ID")
    private Long packageId;

    /** 包裹创建时间 */
    @Excel(name = "包裹创建时间")
    private Long packageDateline;

    /** 是否是默认收货地址，0：否，1：是 */
    @Excel(name = "是否是默认收货地址，0：否，1：是")
    @TableField("`default`")
    private Integer default1;

    /** 用户openid,用户唯一领取用 */
    @Excel(name = "用户openid,用户唯一领取用")
    private String openid;

    /** 是否自提 0未自提 1已自提 */
    @Excel(name = "是否自提 0未自提 1已自提")
    private Integer isConfirmate;

    /** 0未超时 1超时 */
    @Excel(name = "0未超时 1超时")
    private Integer overtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateline(Long dateline) 
    {
        this.dateline = dateline;
    }

    public Long getDateline() 
    {
        return dateline;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setProNum(Long proNum) 
    {
        this.proNum = proNum;
    }

    public Long getProNum() 
    {
        return proNum;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setPackageDateline(Long packageDateline) 
    {
        this.packageDateline = packageDateline;
    }

    public Long getPackageDateline() 
    {
        return packageDateline;
    }
    public void setDefault(Integer default1)
    {
        this.default1 = default1;
    }

    public Integer getDefault() 
    {
        return default1;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setIsConfirmate(Integer isConfirmate) 
    {
        this.isConfirmate = isConfirmate;
    }

    public Integer getIsConfirmate() 
    {
        return isConfirmate;
    }
    public void setOvertime(Integer overtime) 
    {
        this.overtime = overtime;
    }

    public Integer getOvertime() 
    {
        return overtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateline", getDateline())
            .append("orderId", getOrderId())
            .append("uid", getUid())
            .append("storeId", getStoreId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("proNum", getProNum())
            .append("address", getAddress())
            .append("packageId", getPackageId())
            .append("packageDateline", getPackageDateline())
            .append("default", getDefault())
            .append("openid", getOpenid())
            .append("isConfirmate", getIsConfirmate())
            .append("overtime", getOvertime())
            .toString();
    }
}
